/**
 * Copyright &copy; 2012-2017 <a href="https://vivo.com">vivo</a> All rights reserved.
 */
package com.vivo.fx.dealer.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.vivo.fx.dealer.entity.FxDealerrelation;
import com.vivo.fx.dealer.dao.FxDealerrelationDao;

/**
 * 经销商关系Service
 * @author jyangye
 * @version 2017-11-07
 */
@Service
@Transactional(readOnly = true)
public class FxDealerrelationService extends CrudService<FxDealerrelationDao, FxDealerrelation> {

	public FxDealerrelation get(String id) {
		return super.get(id);
	}
	
	public List<FxDealerrelation> findList(FxDealerrelation fxDealerrelation) {
		return super.findList(fxDealerrelation);
	}
	
	public Page<FxDealerrelation> findPage(Page<FxDealerrelation> page, FxDealerrelation fxDealerrelation) {
		return super.findPage(page, fxDealerrelation);
	}
	
	@Transactional(readOnly = false)
	public void save(FxDealerrelation fxDealerrelation) {
		super.save(fxDealerrelation);
	}
	
	@Transactional(readOnly = false)
	public void delete(FxDealerrelation fxDealerrelation) {
		super.delete(fxDealerrelation);
	}
	
}